package cn.flying.system.mapper.cm;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import cn.flying.system.domain.cm.CmPosition;
import cn.flying.system.domain.cm.CmPositionExample;

public interface CmPositionMapper {
    long countByExample(CmPositionExample example);

    int deleteByExample(CmPositionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CmPosition row);

    int insertSelective(CmPosition row);

    List<CmPosition> selectByExampleWithRowbounds(CmPositionExample example, RowBounds rowBounds);

    List<CmPosition> selectByExample(CmPositionExample example);

    CmPosition selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") CmPosition row, @Param("example") CmPositionExample example);

    int updateByExample(@Param("row") CmPosition row, @Param("example") CmPositionExample example);

    int updateByPrimaryKeySelective(CmPosition row);

    int updateByPrimaryKey(CmPosition row);
}